<?php
$this->breadcrumbs = array(
    'Images' => array('index'),
    'Select User',
);
$this->menu = array(
    array('label' => 'List Images', 'url' => array('index')),
);
?>
<h1>Select User for Upload</h1>
<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'selectuser-form',
    'enableAjaxValidation' => false,
        ));
?>
<?php echo $form->dropDownListRow($model, 'user_created', CHtml::listData(User::model()->findAll('role=:role', array(':role' => 'vip')), 'id', 'fullname'), array('class' => 'span5', 'maxlength' => 40)); ?>

<div class="form-actions">
    <?php
    $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType' => 'submit',
        'type' => 'primary',
        'label' => 'Tiếp',
    ));
    ?>
</div>

<?php $this->endWidget(); ?>